<template>
  <div class="home">
    <img alt="Vue logo" :src='userImg'>
  </div>
</template>

<script>

export default {
  name: 'Home',
  data(){
    return{
      userName: '',
      userImg: '',
      // 主页路由名称
      home: 'home',
    }
  },
  components: {
  },
  created(){

  },
  mounted(){
    // 设置用户信息
    this.userName = localStorage.getItem('userName')
    this.userImg = localStorage.getItem('userImg')
  }
}
</script>

<style>
.home{
  height: 100%;
  background-size: 100% 100%;
}
</style>